package com.gy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gy.entity.result.Papers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PapersMapper extends BaseMapper<Papers> {
    boolean savePapers(Papers papers);

    Papers selectPaperById(Long id);

    int updatePapers(Papers papers);

    List<Papers> selectPaperBatchIds(@Param("list") List<Long> list);


}
